﻿<!--{inc(header.view.html)}-->

<div class="content" id="content">
	<div class="top-menu-box">
    	<div class="z">
            <span class="z-f"><a href="#">网站设置</a>&nbsp;&gt;</span>
            <span class="z-f"><a href="#">字段列表</a></span>
            <div class="z-f-r"><span class="user-t"><a href="{$site_url}"  target="_blank">网站首页</a></span><span class="user-info"></span><a href="index.php?app=default&act=quit" onClick="return confirm('确认退出管理系统吗？');"   >退出管理</a></div>
        </div>
        <div class="top-menu">
        	<ul>
            	<li class="current"><a href="#">字段列表</a></li>

                                                 <li><a href="index.php?app=module&act=filedadd&id={$id}"  target="mainframe">字段添加</a></li>
                                                 <li><a href="index.php?app=module&act=index"  target="mainframe">模块列表</a></li>												 
	                                            
			
			</ul>
            <div class="clear"></div>
        </div>
    </div>
    
    <div class="main">

    <table  class="data" >
        <thead>
	
	<th>字段ID</th>  
	<th>字段名称/英文名</th>
	<th>排序</th>  
	  
	<th>操作</th>	
	
		
        </thead>
	    <tbody>
		
<?php foreach((array)$fieldconfig as $_key => $_value ) { ?>
<?php if(!empty($fieldconfig)) { ?>
<tr  >
	<td  align="center">
	{$_key}

	</td>
  
       
	<td  > {$_value.filed.cname}/{$_value.filed.name}</td>

        
 	<td><input type="text" maxlength="3" style="width: 40px; text-align: center;" value="{$_value.sort}" name="sort"  onchange="ato_url('index.php?app=module&act=filedlcsort&id={$id}&tbid={$_key}',this);">
</td>

   
	<td>
    

	                                            <a href="?app=module&act=filededit&id={$id}&tbid={$_key}" target="mainframe">修改字段</a>/
	                                            <a href="?app=module&act=fileddel&id={$id}&tbid={$_key}" onClick="return confirm('确认删除此项？此操作无法恢复！');">删除字段</a>/
                                    
                                              
	                                       
	</td>
</tr>
<?php } ?>
<?php } ?> 


	    </tbody>
    </table>
	

	
        
        <div class="notic"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b> <span ></span> </div>
    </div>
</div>
<!--{inc(footer.view.html)}-->